package com.sxt.study.luckymoney.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @author songj
 * @date 2019/7/23 17:44
 */
@Data
@Component
@ConfigurationProperties(prefix = "luckymoney")
public class LuckyMoneyProperties {

    private BigDecimal amount;
    private String sender;
    private String consumer;
}
